package com.itheima.pojo.cms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
@TableName(value ="cms_subject")
@Data
public class CmsSubject implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *专题id
     */
    private Integer categoryId;

    /**
     *标题
     */
    private String title;

    /**
     *图片
     */
    private Object pic;

    /**
     *产品数量
     */
    private String productCount;

    /**
     *推荐状态
     */
    private String recommendStatus;

    /**
     *创建时间
     */
    private Date createTime;

    /**
     *
     */
    private String collectCount;

    /**
     *
     */
    private String readCount;

    /**
     *
     */
    private String commentCount;

    /**
     *
     */
    private String albumPics;

    /**
     *描述
     */
    private String description;

    /**
     *显示状态
     */
    private String showStatus;

    /**
     *内容
     */
    private String content;

    /**
     *
     */
    private String forwardCount;

    /**
     * 专题名称
     */
    private String categoryName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
